
from django.conf.urls import url
from . import views
urlpatterns = [
    url(r'^$', views.index,name="myhome_index"),
    url(r'^goods/list/$', views.goodslist,name="myhome_list"),
    url(r'^goods/info/$', views.goodsinfo,name="myhome_info"),
    # 登录页面
    url(r'^login/$', views.login,name="myhome_login"),
    # 退出
    url(r'^loginout/$', views.loginout,name="myhome_loginout"),
    # 注册
    url(r'^register/$', views.register,name="myhome_register"),
    # 返回一个字典
    url(r'^checkregister/$', views.checkregister,name="myhome_checkregister"),
    # 短信验证
    url(r'^sendmsg/$',  views.sendmsg,name="sendmsg"),
]
